<html>
<head>
  <style>
    #box {
        position: absolute;
        left: 0;
        top: 100px;
        height: 100px;
        width: 100px;
        background-color: red;
        animation-duration: 1s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-name: anim;
    }
    @keyframes anim {
        from { left: 0px; }
        to   { left: 100px; }
    }
  </style>
  <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
  <script type="text/javascript" charset="utf-8">
    const expectedValues = [
      // [time, element-id, property, expected-value, tolerance]
      [2.5, "box", "left", 50, 5],
    ];
    
    runAnimationTest(expectedValues);
  </script>
</head>
<body>
<div id="box"></div>
<div id="result"></div>
</body>
</html>
